import jieba

txt='Python是最有意思的编程语言'
var=jieba.cut(txt)
print(var)
for word in var:
    print(word)
print(list(var))
